package cn.tedu.csmall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class BrandUpdateDTO {

    @ApiModelProperty("品牌名称")
    @NotNull(message = "必须提交品牌名称")
    private String name;
    @NotNull(message = "必须提交品牌拼音")
    @ApiModelProperty("品牌名称的拼音")
    private String pinyin;
    @ApiModelProperty("品牌LOGO的url")
    private String logo;
    @ApiModelProperty("品牌简介")
    private String description;
    @ApiModelProperty("关键词列表")
    private String keywords;
    @ApiModelProperty("排序级别")
    private Integer sort;
    /**
     * 是否启用，1=启用，0=未启用
     */
    @ApiModelProperty(value = "是否启用，1=启用，0=未启用", example = "1", required = true)
    private Integer enable;
}
